<?php
class AuctionCacheListHash{
    protected $_listHash = array();   
    
    public function addList($list){
        $listName = $list->listName();
        $this->_listHash[$listName] = $list;
        return $this;
    }
    
    public function allList(){
        return $this->_listHash;
    }
    
    public function addAuctionItem($auctionCacheData){
        $list = $this->allList();
        foreach ($list as $listModel){
            $listModel->addAuctionItem($auctionCacheData);
        }
    }
    
    public function delItem($pk){
        $list = $this->allList();
        foreach ($list as $listModel){
            $listModel->delItem($pk);
        }
    }
    
}
